config := meta.(*Config)
d.SetId(res["name"].(string))
if err := parseImportId([]string{"projects/(?P<project>[^/]+)/instances/(?P<instance>[^/]+)/databases/(?P<name>[^/]+)"}, d, config); err != nil {
	return nil, err
}
res["project"] = d.Get("project").(string)
res["instance"] = d.Get("instance").(string)
res["name"] = d.Get("name").(string)
id, err := replaceVars(d, config, "{{instance}}/{{name}}")
if err != nil {
	return nil, err
}
d.SetId(id)
return res, nil
